from django.db import models

DEFAULT_CURRENCY = 'TRL'

class Post(models.Model):
    title = models.CharField(max_length=250, blank=False)
    text = models.CharField(max_length=2048, blank=False)
    created = models.DateTimeField(auto_now_add=True, blank=False)
    updated = models.DateTimeField(auto_now=True, blank=False)
    created_by = models.CharField(max_length=250, blank=False)
    updated_by = models.CharField(max_length=250, blank=False)
    update = models.BooleanField(blank=True)

    class Meta:
        db_table = 'sample_Post'
